{template 'member','header'}
<body>
<div id="main">
  {template 'order' , 'left'}
  <div id="right">
    <p id="position"> <strong>当前位置：</strong><a href="">首页</a><a href="{$MODULE[member][url]}">会员中心</a><a href="{$M[url]}">订单</a>查看订单</p>
    <div class="clear"></div>
    <table cellpadding="0" cellspacing="1" class="table_info">
      <caption>订单处理</caption>
		<tr>
           <th width="10%">交易状态：</th>
           <td>{$statusname} {if $status==0}您还有 <font color="red">{$closedtime[d]}天{$closedtime[h]}小时{$closedtime[m]}分钟{$closedtime[s]}秒</font> 来完成本次交易的付款。{/if}</td>            
        </tr>
		<tr>
            <th>订单操作：</th>
            <td>{if $status==0}		
			<a href="{$M[url]}index.php?action=pay&orderid={$orderid}" style="color:red;">立即付款</a> | <a href="{$M[url]}index.php?action=cancel&orderid={$orderid}">取消订单</a> | {/if}<a href="{$M[url]}index.php?action=memo&orderid={$orderid}">备注</a></td>            
        </tr>
	</table>
	<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr>
           <td width="50%" valign="top">
    <table cellpadding="0" cellspacing="1" class="table_info">
      <caption>订单信息</caption>
		<tr>
           <th width="20%">订单ID：</th>
           <td>{$orderid}</td>            
        </tr>
        <tr>
          <th>产品：</th>
          <td><a href="{$goodsurl}">{$goodsname}</a></td>
        </tr>
        <tr>
          <th>单价：</th>
          <td>{$price}元/{$unit}</td>
        </tr>
        <tr>
          <th>数量：</th>
          <td>{$number}{$unit}</td>
        </tr>
        <tr>
          <th>运费：</th>
          <td>{$carriage}元</td>
        </tr>
		<tr>
          <th>付款金额：</th>
          <td><span style="color:red;font-weight:bold">￥{$amount}元</span></td>
        </tr>
        <tr>
          <th>下单时间：</th>
          <td>{date('Y-m-d H:i:s', $time)}</td>
        </tr>
	</table>
		   </td>
           <td valign="top">
    <table cellpadding="0" cellspacing="1" class="table_info">
      <caption>收货信息</caption>
		<tr>
           <th width="20%">收货人：</th>
           <td>{$consignee}</td>            
        </tr>
        <tr>
          <th>区域：</th>
          <td>{areaname($areaid)}</td>
        </tr>
        <tr>
          <th>电话：</th>
          <td>{$telephone}</td>
        </tr>
        <tr>
          <th>手机：</th>
          <td>{$mobile}</td>
        </tr>
        <tr>
          <th>地址：</th>
          <td>{$address}</td>
        </tr>
        <tr>
          <th>邮编：</th>
          <td>{$postcode}</td>
        </tr>
        <tr>
          <th>留言：</th>
          <td>{$note}</td>
        </tr>
	</table>
		   </td>            
        </tr>
	</table>
  </div>
</div>
<div class="clear"></div>
{template 'member','footer'}
